﻿using ConsoleApp1.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public class AdminDB : DbContext
    {

        public AdminDB() : base("server=.;database=AdminDb;uid=sa;pwd=123456")
        {

        }

        public DbSet<Users> Users { get; set; }
        public DbSet<Class> Classes { get; set; }

    }
}
